import { request } from '../utils'


// 文档模板
export function documentTemplateSearch(payload: any) {
  return request.post(`/kgassist/document/template/search`, { ...payload })
}
export function documentTemplateGetDetail(payload: any) {
  return request.get(`/kgassist/document/template/get`, { params: payload })
}


// 获取知识助手内容
export function documentSearch(payload: any) {
  return request.post(`/kgassist/document/search`, { ...payload })
}
// 获取知识助手内容
export function advanceDocumentSearch(payload: any) {
  return request.post(`/kgassist/document/table/search`, { ...payload })
}
// 获取文献预览上下文
export function documentGet(payload: any) {
  return request.get(`/kgassist/document/get`, { params: payload })
}
